package com.itheima.entity;

import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;

public class User {
    private int id;
    private String name;
    private String[] hobbies1;//爱好1组
    private List<String> hobbies2;//爱好2组
    private Set<String> speciality;//特长
    private Map<String,Object> girlFriend;//女票的信息
    private Properties score;//成绩单  math:100 chinese:90 english:0

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", hobbies1=" + Arrays.toString(hobbies1) +
                ", hobbies2=" + hobbies2 +
                ", speciality=" + speciality +
                ", girlFriend=" + girlFriend +
                ", score=" + score +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String[] getHobbies1() {
        return hobbies1;
    }

    public void setHobbies1(String[] hobbies1) {
        this.hobbies1 = hobbies1;
    }

    public List<String> getHobbies2() {
        return hobbies2;
    }

    public void setHobbies2(List<String> hobbies2) {
        this.hobbies2 = hobbies2;
    }

    public Set<String> getSpeciality() {
        return speciality;
    }

    public void setSpeciality(Set<String> speciality) {
        this.speciality = speciality;
    }

    public Map<String, Object> getGirlFriend() {
        return girlFriend;
    }

    public void setGirlFriend(Map<String, Object> girlFriend) {
        this.girlFriend = girlFriend;
    }

    public Properties getScore() {
        return score;
    }

    public void setScore(Properties score) {
        this.score = score;
    }
}
